<!DOCTYPE html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<html>
<head>
    <meta charset="utf-8">
    <title>M.S商城——注册</title>
    <link rel="stylesheet" type="text/css" href="{{asset('org/home/css')}}/index.css">
    <link rel="stylesheet" type="text/css" href="{{asset('org/home/css')}}/ziy.css">
    <script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.min.js"></script>
    <script src="{{asset('org/admin/app-assets')}}/vendors/js/extensions/sweetalert2.all.js" type="text/javascript"></script>
    <!--  <script src="js/jquery-1.11.3.min.js" ></script>
    <script src="js/index.js" ></script>  -->
    <!-- <script type="text/javascript" src="js/jquery1.42.min.js"></script> -->
    <!--
    <script type="text/javascript" src="js/jquery-1.11.1.min.js"></script>
     <script type="text/javascript" src="js/jquery.SuperSlide.2.1.1.source.js"></script> -->

</head>
<body>
<!--dengl-->
<div class="beij_center">
    <div class="dengl_logo">
        <img src="{{asset('org/home/images')}}/logo_1.png">
        <h1>欢迎注册</h1>
    </div>
</div>
<div class="dengl_beij">

    <div class="banner_xin">
        <img src="{{asset('org/home/images')}}/ss.jpg">
    </div>
    <div class="beij_center dengl_jvz">
        <div class="login_form">
            <div class="login_tab">
                <h2>欢迎注册</h2>
            </div>
            <div class="kengl_kuang">
                <form action="{{route('home.store')}}" method="post">
                    @csrf
                    <div class="txt_kuang">
                        <input type="text" class="itxt iaccount" name="mobile" placeholder="请输入手机">
                        <input type="text" class="ishot" name="code" placeholder="验证码"><button class="check check-phone check-border" id="bt" style="height: 42px">发送验证码</button>
                        <input type="password" class="itxt" name="password" placeholder="密码">
                    </div>
                    <button class="btnnuw">注册</button>
                </form>
            </div>
            <div class="corp_login">
                <div class="regist_link"><a href="{{route('home.loginPage')}}"><b></b>已有账号,立即登录</a></div>
            </div>
        </div>
    </div>
</div>

<div class="jianj_dib">
    <div class="beia_hao">
        <p>京ICP备18041855号</p>
    </div>
</div>
@include('layouts.message')
<script>
    $('#bt').click(function () {
        var account=$(this).siblings('.iaccount').val();
        $.ajax({
            url:'/send/'+account,
            method:'get',
            dataType:'json',
            success:function (res) {
                console.log(res)
            }
        })
    })
</script>
</body>
</html>


